<!--
档案管理-档案分类
 add by yyp 2020-01-10
-->
<template lang="pug">
  keep-alive
    kalix-table(bizKey="Class" title='档案分类' ref="kalixTable"
    v-bind:tableFields="tableFields"
    v-bind:targetURL="ClassURL"
    v-bind:bizDialog="classDialog"
    v-bind:btnList="classBtnList"
    v-bind:toolbarBtnList="toolbarBtnList"
    bizSearch="classSearch")
</template>

<script type="text/ecmascript-6">
  import {ClassURL} from '../../config.toml'
  import {classConfigBtnList} from './config'
  import KalixTable from '../../../../../components/corelib/components/common/baseTable'

  export default {
    name: 'kalix-telemedicine-class',
    components: {KalixTable},
    data() {
      return {
        ClassURL: ClassURL,
        tableFields: [
          {prop: 'className', label: '档案分类'}
        ],
        classDialog: [
          {id: 'add', dialog: 'classAdd'},
          {id: 'edit', dialog: 'classEdit'},
          {id: 'view', dialog: 'classView'}
        ],
        classBtnList: classConfigBtnList,
        toolbarBtnList: [
          {id: 'add', isShow: true, title: '添加', icon: 'icon-pinleizengjia', isPermission: true}
        ]
      }
    }
  }
</script>

<style scoped lang="stylus">

</style>
